Rename derivative_dhat => derivative_hat, explain minus signs#2725
Rename derivative_dhat => derivative_hat, explain minus signs#2725DanielDoehring merged 28 commits intotrixi-framework:mainfrom
derivative_dhat => derivative_hat, explain minus signs#2725Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2725 +/- ##
=======================================
Coverage 97.02% 97.02%
=======================================
Files 563 563
Lines 44222 44225 +3
=======================================
+ Hits 42904 42907 +3
Misses 1318 1318
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@jlchan we can also postpone the boundary stuff and just focus on the derivative matrix (as the title suggests 🙊 ) |
jlchan
left a comment
There was a problem hiding this comment.
I'm OK with the Dhat change if you want to just do that refactoring first. It might also be good to get one more review since this PR touches a lot of code
derivative_dhat => derivative_hatderivative_dhat => derivative_hat, explain minus signs
jlchan
left a comment
There was a problem hiding this comment.
Thanks for removing the boundary stuff. One minor comment on your comment
|
|
||
| # Access the factors only once before beginning the loop to increase performance. | ||
| # We also use explicit assignments instead of `+=` to let `@muladd` turn these | ||
| # into FMAs (see comment at the top of the file). | ||
| factor_1 = boundary_interpolation[1, 1] |
There was a problem hiding this comment.
Why did you remove this comment?
There was a problem hiding this comment.
I found that improvement pretty trivial/obvious. And to prevent comment overload decided to remove that.
There was a problem hiding this comment.
I found that pretty trivial/obvious improvement and to prevent comment overload decided to remove that
…ixi-framework#2725) * explain dhat * comment boundary matrix * comments * rev * comments * rename * comment * comments * update * comment * compress boundary matrix * rev * rm comment * revert boundary stuff * rev * fix * rm comment * comments * comment
derivative_dhatis somewhat doubled - we also do not havederivative_dsplitbut onlyderivative_split:Trixi.jl/src/solvers/dgsem/basis_lobatto_legendre.jl
Lines 30 to 33 in b08f7da
Furthermore, I compressed
boundary_interpolationto the only two retrieved values. I think this is fine since the stored boundary matrix is currently also not the full one.I also added a couple comments on the (minus)-sign in the construction of the matrices.